package com.exam.itempool.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.exam.role.model.Teacher;

/**
 * Paper entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Paper implements java.io.Serializable
{

	// Fields

	private Integer id;
	private Teacher teacher;
	private String titie;
	private String type;
	private Integer questionsNum;
	private Float passScore;
	private Float score;
	private Integer creator;
	private Date createtime;
	private String flag;
	private Float passSore;
	private Integer qsoNum;
	private Integer qsmNum;
	private Integer qoNum;
	private Integer qjNum;
	private Integer qwNum;
	private Integer coursetype;
	private Set exams = new HashSet(0);
	private Set papercontents = new HashSet(0);

	// Constructors

	/** default constructor */
	public Paper()
	{
	}

	/** full constructor */
	public Paper(Teacher teacher, String titie, String type, Integer questionsNum, Float passScore, Float score, Integer creator, Date createtime, String flag, Float passSore, Integer qsoNum, Integer qsmNum, Integer qoNum, Integer qjNum, Integer qwNum, Integer coursetype, Set exams, Set papercontents)
	{
		this.teacher = teacher;
		this.titie = titie;
		this.type = type;
		this.questionsNum = questionsNum;
		this.passScore = passScore;
		this.score = score;
		this.creator = creator;
		this.createtime = createtime;
		this.flag = flag;
		this.passSore = passSore;
		this.qsoNum = qsoNum;
		this.qsmNum = qsmNum;
		this.qoNum = qoNum;
		this.qjNum = qjNum;
		this.qwNum = qwNum;
		this.coursetype = coursetype;
		this.exams = exams;
		this.papercontents = papercontents;
	}

	// Property accessors

	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Teacher getTeacher()
	{
		return this.teacher;
	}

	public void setTeacher(Teacher teacher)
	{
		this.teacher = teacher;
	}

	public String getTitie()
	{
		return this.titie;
	}

	public void setTitie(String titie)
	{
		this.titie = titie;
	}

	public String getType()
	{
		return this.type;
	}

	public void setType(String type)
	{
		this.type = type;
	}

	public Integer getQuestionsNum()
	{
		return this.questionsNum;
	}

	public void setQuestionsNum(Integer questionsNum)
	{
		this.questionsNum = questionsNum;
	}

	public Float getPassScore()
	{
		return this.passScore;
	}

	public void setPassScore(Float passScore)
	{
		this.passScore = passScore;
	}

	public Float getScore()
	{
		return this.score;
	}

	public void setScore(Float score)
	{
		this.score = score;
	}

	public Integer getCreator()
	{
		return this.creator;
	}

	public void setCreator(Integer creator)
	{
		this.creator = creator;
	}

	public Date getCreatetime()
	{
		return this.createtime;
	}

	public void setCreatetime(Date createtime)
	{
		this.createtime = createtime;
	}

	public String getFlag()
	{
		return this.flag;
	}

	public void setFlag(String flag)
	{
		this.flag = flag;
	}

	public Float getPassSore()
	{
		return this.passSore;
	}

	public void setPassSore(Float passSore)
	{
		this.passSore = passSore;
	}

	public Integer getQsoNum()
	{
		return this.qsoNum;
	}

	public void setQsoNum(Integer qsoNum)
	{
		this.qsoNum = qsoNum;
	}

	public Integer getQsmNum()
	{
		return this.qsmNum;
	}

	public void setQsmNum(Integer qsmNum)
	{
		this.qsmNum = qsmNum;
	}

	public Integer getQoNum()
	{
		return this.qoNum;
	}

	public void setQoNum(Integer qoNum)
	{
		this.qoNum = qoNum;
	}

	public Integer getQjNum()
	{
		return this.qjNum;
	}

	public void setQjNum(Integer qjNum)
	{
		this.qjNum = qjNum;
	}

	public Integer getQwNum()
	{
		return this.qwNum;
	}

	public void setQwNum(Integer qwNum)
	{
		this.qwNum = qwNum;
	}

	public Integer getCoursetype()
	{
		return this.coursetype;
	}

	public void setCoursetype(Integer coursetype)
	{
		this.coursetype = coursetype;
	}

	public Set getExams()
	{
		return this.exams;
	}

	public void setExams(Set exams)
	{
		this.exams = exams;
	}

	public Set getPapercontents()
	{
		return this.papercontents;
	}

	public void setPapercontents(Set papercontents)
	{
		this.papercontents = papercontents;
	}

}